home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-06-30 | 1.9 KB | 57 lines |
- /*
- * @(#)TableColumnModelListener.java 1.6 98/01/11
- *
- * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
- *
- * This software is the confidential and proprietary information of Sun
- * Microsystems, Inc. ("Confidential Information"). You shall not
- * disclose such Confidential Information and shall use it only in
- * accordance with the terms of the license agreement you entered into
- * with Sun.
- *
- * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
- * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
- * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
- * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
- * THIS SOFTWARE OR ITS DERIVATIVES.
- *
- */
-
- package com.sun.java.swing.event;
-
- import com.sun.java.swing.event.ListSelectionEvent;
- import com.sun.java.swing.event.ChangeEvent;
- import java.util.EventListener;
-
- /**
- * TableColumnModelListener defines the interface for an object that listens
- * to changes in a TableColumnModel.
- *
- * @version 1.6 01/11/98
- * @author Alan Chung
- * @see TableColumnModelEvent
- */
-
- public interface TableColumnModelListener extends java.util.EventListener
- {
- /** Tells listeners that a column was added to the model. */
- public void columnAdded(TableColumnModelEvent e);
-
- /** Tells listeners that a column was removed from the model. */
- public void columnRemoved(TableColumnModelEvent e);
-
- /** Tells listeners that a column was repositioned. */
- public void columnMoved(TableColumnModelEvent e);
-
- /** Tells listeners that a column was moved due to a margin change. */
- public void columnMarginChanged(ChangeEvent e);
-
- /**
- * Tells listeners that the selection model of the
- * TableColumnModel changed.
- */
- public void columnSelectionChanged(ListSelectionEvent e);
- }
-
-